package reflect;

public class Student {
    private String name;
    private int age;
    private char gender;
    public Student()
    {
        this.name="赛文";
        this.age=88;
        this.gender='男';
        System.out.println("无参构造方法");
    }
    public Student(String name,int age,char gender)
    {
        this.name=name;
        this.age=age;
        this.gender=gender;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender=" + gender +
                '}';
    }
    public void sb(){
        System.out.println("sb11111111111111");
    }
}
